namespace KingerRobot.MexicoSailunMDC.Dao;
partial class Db : K8.EF.DbContext
{
    /// <summary>
    /// 设备 - 成型机
    /// </summary>
    public DbSet<PORcsEquipBuilding> RcsEquipBuildings { get; set; }
}

/// <summary>
/// 设备 - 成型机
/// 表[rcs_equip_building]
/// </summary>
[Table("rcs_equip_building")]
public class PORcsEquipBuilding
{
    /// <summary>
    /// 主键，通过雪花算法生成
    /// 主键[rcs_equip_building.objid)]
    /// </summary>
    [Key]
    [Column("objid")]
    public long? Id { get; set; }
    /// <summary>
    /// 创建时间
    /// [rcs_equip_building.create_time)]
    /// </summary>
    [Column("create_time")]
    public DateTime? CreateTime { get; set; }
    /// <summary>
    /// 更新时间
    /// [rcs_equip_building.update_time)]
    /// </summary>
    [Column("update_time")]
    public DateTime? UpdateTime { get; set; }
    /// <summary>
    /// 是否可用 0:不可用  1:在用
    /// [rcs_equip_building.use_flag)]
    /// </summary>
    [Column("use_flag")]
    public int? UseFlag { get; set; }
    /// <summary>
    /// 是否宕机 1:宕机  0:可用
    /// [rcs_equip_building.crash_status)]
    /// </summary>
    [Column("crash_status")]
    public int? CrashStatus { get; set; }
    /// <summary>
    /// [rcs_equip_building.crash_time)]
    /// </summary>
    [Column("crash_time")]
    public DateTime? CrashTime { get; set; }
    /// <summary>
    /// 线体扫描物料id
    /// [rcs_equip_building.line_material_id)]
    /// </summary>
    [Column("line_material_id")]
    public long? LineMaterialId { get; set; }
    /// <summary>
    /// 线体扫描时间
    /// [rcs_equip_building.line_time)]
    /// </summary>
    [Column("line_time")]
    public DateTime? LineTime { get; set; }
    /// <summary> 
    /// [rcs_equip_building.mes_equip_id)]
    /// </summary>
    [Column("mes_equip_id")]
    public string MesEquipId { get; set; }
 
}
